package com.linwen.javase.desgin_pattern.BigTalkDesignPattenJAVACode._09建造者模式._1基本代码;

//具体建造者1
class ConcreteBuilder1 extends Builder {
    private Product product = new Product();

    public void buildPartA(){
        product.add("部件A");
    }
    public void buildPartB(){
        product.add("部件B");
    }

    public Product getResult(){
        return product;
    }
}
